<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:c="http://www.w3.org/1999/XSL/Transform">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen"/>
</head>
<body>
    <div th:replace="common/top">
    </div>

    <div id="Content">
        <div id="Catalog" style="text-align: center">
            <form th:action="@{/account/editConfirm}" method="post" th:object="${account}">
                <h2 th:text="${account.userid}">UserId</h2><br>
                <p>
                    <input type="text" th:field="*{userid}" hidden="hidden">
                    <table>
                        <tr>
                            <td>Password: </td>
                            <td><input type="text" th:field="*{password}"></td>
                        </tr>
                        <tr>
                            <td>Email: </td>
                            <td><input type="text" th:field="*{email}"></td>
                        </tr>
                        <tr>
                            <td>FirstName: </td>
                            <td><input type="text" th:field="*{firstName}"></td>
                        </tr>
                        <tr>
                            <td>LastName: </td>
                            <td><input type="text" th:field="*{lastName}"></td>
                        </tr>
                        <tr>
                            <td>Status: </td>
                            <td><input type="text" th:field="*{status}"></td>
                        </tr>
                        <tr>
                            <td>Address1: </td>
                            <td><input type="text" th:field="*{addr1}"></td>
                        </tr>
                        <tr>
                            <td>Address2: </td>
                            <td><input type="text" th:field="*{addr2}"></td>
                        </tr>
                        <tr>
                            <td>City: </td>
                            <td><input type="text" th:field="*{city}"></td>
                        </tr>
                        <tr>
                            <td>State: </td>
                            <td><input type="text" th:field="*{state}"></td>
                        </tr>
                        <tr>
                            <td>Zip: </td>
                            <td><input type="text" th:field="*{zip}"></td>
                        </tr>
                        <tr>
                            <td>Country: </td>
                            <td><input type="text" th:field="*{country}"></td>
                        </tr>
                        <tr>
                            <td>Phone: </td>
                            <td><input type="text" th:field="*{phone}"></td>
                        </tr>
                    </table>
                </p>

                <a class="Button" href="/account/all" th:text="放弃更改">abandon</a>
                <input type="submit" th:value="确认修改">
            </form>
        </div>
    </div>

    <div th:replace="common/bottom">
    </div>
</body>
</html>